<div class="row row-6">
  <div class="col-md-6 col-md-offset-3">

    <div class="panel panel-default panel-page">
      <div class="panel-heading"><h2>登录</h2></div>

        <div class="well well-sm">

          <div class="media">
            <a class="pull-left" href="javascript:">
              <img class="media-object" src="<?php echo $userinfo['figureurl_1'] ?>">
            </a>
            <div class="media-body">
              <div><strong><?php echo $userinfo['nickname'] ?></strong></div>
              <div class="text-muted">您正在使用<strong class="text-primary"> QQ帐号 </strong>登录大牛学院</div>
            </div>
          </div>
  
        </div>
       <form id="set-bind-exist-form" class="form-vertical" method="post" novalidate="novalidate" data-widget-cid="widget-1">
          <div class="form-group">
            <label class="control-label" for="set-bind-nickname-field">昵称</label>
            <div class="controls">
              <input id="set-bind-nickname-field" class="form-control" type="text" name="nickname" value="<?php echo $userinfo['nickname'] ?>" data-url="/register/nickname/check" data-widget-cid="widget-5" data-explain="推荐用现在这个，也可以另外取一个。最长14个英文或者7个汉字">
              <p class="help-block">推荐用现在这个，也可以另外取一个。最长14个英文或者7个汉字</p>
            </div>
          </div>

          <div class="form-group has-error">
            <label class="control-label" for="set-bind-email-field">邮箱地址</label>
            <div class="controls">
              <input id="set-bind-email-field" class="form-control" type="text" name="email" data-url="/register/email/check" data-widget-cid="widget-3" data-explain="">
                           <div class="help-block" style=""><span class="text-danger">请输入邮箱地址</span></div></div>
          </div>

          

          
        <div class="tac pvl">
          <div class="alert alert-danger" id="bind-new-form-error" style="display:none;"></div>

       
            <button id="set-bind-new-btn" class="btn btn-primary btn-lg" data-url="/login/bind/qq/newset" data-loading-text="正在登录..." data-goto="/">确认登录</button>
        
        

                </div></form>
        <hr>

        <p class="text-primary">
          已有帐号？绑定到已有帐号：
          <a href="/login/bind/qq/exist"></a>
        </p>

        <form id="bind-exist-form" class="form-vertical" method="post" action="{:U('index/login/binqqexist')}" data-goto="/" novalidate="novalidate" data-widget-cid="widget-0">

          <div class="alert alert-danger" id="bind-exist-form-error" style="display:none;"></div>


          <div class="form-group has-error">
            <label class="control-label" for="bind-email-field">Email地址</label>
            <div class="controls">
              <input id="bind-email-field" class="form-control" type="text" name="email" data-widget-cid="widget-2" data-explain="请填写在大牛学院注册时填写的Email地址">
              <p class="help-block"><span class="text-danger">请输入Email地址</span></p>
            </div>
          </div>
          <input type="hidden" value="<?php echo $openid; ?>" name="qq_openid">

          <div class="form-group has-error">
            <label class="control-label" for="bind-password-field">密码</label>
            <div class="controls">
              <input id="bind-password-field" class="form-control" type="password" name="password" data-widget-cid="widget-4" data-explain="">
            <div class="help-block" style=""><span class="text-danger">请输入密码</span></div></div>
          </div>

          <div class="form-group">
            <div class="controls">
              <button class="btn btn-fat btn-default btn-lg" type="submit" data-loading-text="正在提交...">绑定</button>
            </div>
          </div>

          <input type="hidden" name="_csrf_token" value="cf87498d78d1a72147c9258df7b7c364941cfe7b">
        </form>

        <div class="form-group">

        </div>

    </div>

  </div>
</div>